package com.basic.modules.ykf.controller;

import java.util.Arrays;

import cn.hutool.core.util.ObjectUtil;
import com.basic.common.annotation.StringTrim;
import com.basic.common.utils.ParamsModel;
import com.basic.common.utils.ParamUtils;
import com.basic.common.validator.ValidatorUtils;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.basic.modules.ykf.entity.YkfSubAccountRecordEntity;
import com.basic.modules.ykf.service.YkfSubAccountRecordService;
import com.basic.common.utils.PageUtils;
import com.basic.common.utils.R;



/**
 * 店铺子账号分配记录
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-07-02 13:59:33
 */
@RestController
@RequestMapping("ykf/subAccountRecord")
public class YkfSubAccountRecordController {

    @Autowired
    private YkfSubAccountRecordService ykfSubAccountRecordService;

    /**
     * 列表-分页
     */
    @StringTrim
    @PostMapping("/page")
    public R list(@RequestBody ParamsModel<YkfSubAccountRecordEntity> params){
        PageUtils page = ykfSubAccountRecordService.queryPage(params);
        return R.ok(page);
    }

}
